Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NO AUTO Adds blocklist for load methods #3118

Merged
merged 1 commit into from
Aug 8, 2022
Merged

Conversation

ncordon
Copy link
Contributor

@ncordon ncordon commented Aug 8, 2022

Cherry picks #2467

What

Uses Neo4j internal option unsupported.dbms.cypher_ip_blocklist, which consists on a list of ip addresses in CDIR notation, i.e. ip + mask for subnets, e.g. 192.167.2.3/8, 192.234.3.123/16. When using the apoc.load.json(url) command, the url will be looked up in a DNS resolver and we will fail if it is on the list of blocked ip addresses.

Why

To prevent users trying to load data from any url. To completely block all ipv4 and ipv6 addresses one should use:

unsupported.dbms.cypher_ip_blocklist=0.0.0.0/0,::/0

@ncordon ncordon added cherry-picked This PR has been cherry-picked to the other active branches team-cypher-surface Cypher Surface team should review the PR 4.1 labels Aug 8, 2022
@ncordon ncordon merged commit 2155cb3 into 4.1 Aug 8, 2022
@ncordon ncordon deleted the 4.1-load-methods-blocklist branch August 8, 2022 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.1 cherry-picked This PR has been cherry-picked to the other active branches team-cypher-surface Cypher Surface team should review the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant